package day0723;

public class Test6 {
    public static void main(String[] args) {
        int[] a={23,743,12,34,5,21,67,34};
        int max=a[0];//23
        for(int i=1;i<a.length;i++){
            if(max>a[i]){
                max=a[i];
            }
        }
        System.out.println(max);

    }
}
